SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ed43c46a7180a40f50aea5ef37e24a4d9707fe9a72e00b5af18aa73d5feefb3' 
  AND token = 'P+snvQoxyFcLUh8IzSnJbVY2Hzsljd6VBUyCCHXLdzU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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