SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d50c48cb391d0bf5ce7944774542c788ac61725e1366d25dcc345c2994c8ac6' 
  AND token = 'b5ZuxwwCuYi4dtEFTSTVKqxoezliefJE1VhwdGBZStA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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