SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4bfaa3eacc27c77c6d9ab1ae5ac3f09e1b32b25066007ab3dda66257fcecb61' 
  AND token = '2NPE7f5n5cEGO8Ez8UGiVW6a+JghnfpP0CFevN03xtQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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