SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '06451d1e791380604b8f8218e4d9b667cd4fbadb31c9689c681f8e08b832dedf' 
  AND token = '7jXQxyyyN7ccoW04ZiYHtkHwn+2a3Wo1G1b3jBJ1sWY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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