SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5807ec6e7d821e6d887aebc8284a59127c3274533e555ecc2a997b9c431550c' 
  AND token = 'UFf6s7drjjVBX+MD4xjmtb3Xx0dGQ4tS2XWaZMyFo18=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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