SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4e785db7992cf9d8f4d2c09f7b9b6f5c5beb83e3e3e23a21acb0d85a5903df2' 
  AND token = 'QSxB9ThIt66h0SvXBggmgeCqH2Au54ahLK5icbJF1WE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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