SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4ffdf7dc228fdf7fe018f97092638390ecf23e54a8a23dc785b2a00a42e37cef' 
  AND token = 'CNx4wzEXUgmo72s94F2Ss8K7FGIce3wHti72NJPsi0I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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