SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5cecfc6f8210de6df00b53a93acef9a46b0bb34eb31cbdaefe5baa730d2051ee' 
  AND token = 'wwxrHiMe1NVD99Jbi/BHzLvdQ3CxOXLsWTSiO0kuWDo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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