SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af5b58e9ce9ebc145690a46f726a366c70160271105a3643a42442c47abea640' 
  AND token = 'G/2INH4hxlotOiq/fE4z4dhkZTP+W2XdF/JYfUb1HrE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00069

JSON explain

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