SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e798c4b17b16db13ce6961b2fa7e67a8a7ba043ec05f2cf3976d538edad40dd4' 
  AND token = '81AGWze4Gr/YOJpsnqXpTMG6EfN9kK1wd7G9i6MIEnM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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