SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b28feb5f2a6d786ab011c7ea0af9a0d22baec118fa5a7a93e76f77bf3739953c' 
  AND token = 'ms8VvDolVb4ubFdKE74hY2OzDPowklrNkVsorOXw/JU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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