SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38ce7490d7565cd8a945c5add9f834fbe37b572bd5e025d928f0a96f10d560a7' 
  AND token = 'Z5PEmL+oMvUe72K7rMIvXipG+f+tkxOjYsMIEDY9TUM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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