SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1bedd9cf77f6a418d67f19514044930cc3c28449d379b65c7156de569781c662' 
  AND token = 'IGJ3DJbNbd1IcAY6M0G0FLY8LwNJcIkwMEpVDb5tMc4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}