SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5cc9a8100a1f6d21a109bfa70f86fe26b3405679dfb863eaabcc9feacac8c9f2' 
  AND token = '0uW1ETs8SbHS+iFlmNAxoIlf728Xz8bpl3LHYdu8Crs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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