SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9936f83c4e2b32a480215a778d129df32a46fadd164ad42b424d7f9df9a803c6' 
  AND token = 'y6B7xx88qYA/oIfE46KuTODTDvKzLEqNbLWgIkzkEvM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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