SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f3c4c2ef0c7eda0b0036b556dfcb43d6c33e525d230e95722930ed83ac542f8' 
  AND token = 'YPsNAnOB4mhUfnlv1X0L9EYKDZ9kfvTey14xAYhYZjg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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