SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1aaa817684bf3b39934f9282ea3194fbb83ef8f9b115457d4818f92e02baa358' 
  AND token = 'MGcaZUos0OlUkT95cTIH1tRYWxF++oGquznM78sHR+g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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