SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58b054a5b6ad3cb4d3f035cfe45c5e4b29cc2018b8e00dce344051b6a6cf3fbb' 
  AND token = 'ZMSA8FR/d2ulUfaOa80YrNrkYchicqqGYCm0K8Ga9do=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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