SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '578c4eb23f549778e944932498658563a621be438d0d1cd688f0fdf09d66c397' 
  AND token = 'w9YGSfzGEaMf7wi5JHnMU2oCNKJtxGPv0Hmp40N1/RM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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