SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ddc8dde84419d5819da99f790f1aa40c897ac2db6ab8b244a63c78fd0cf8988' 
  AND token = 'vFrGWvStB5ObRMN3qcsZ6HnCWAhOgPgBVW7uLZDPAa8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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