SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9fd17b42a5f3abc24ce787e7813013c122913109ae2946ebed930498b1525db3' 
  AND token = 'layEkirS6Ul7AZPbqPwd+Y9EaZDscTlg2u3LPFnwie0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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