SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38f180ec6805a456cc2acccb46afb5e99f43f1d796550ad9e06897ad575e5e79' 
  AND token = 'ZR6my1pznzf1qoEDpubIeiOXIvAXIa3qY/y0LOCD85Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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