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

Query time 0.00030

JSON explain

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