SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78dc3855b40e14722a1bed40e6b630252752da3d139af55fcf21db7f2bbb6245' 
  AND token = 'SpqgKOZr4muCWB06ZexbTW4z6gar2rERz+cFJalLNTc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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