SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0b974d1c72b02c1255ba6b47b0c81495a7cc85499465a3e3d13ff1dc2dd2801' 
  AND token = '40v6YfR+7maKgNpdCHbZ7ca3Qy6pz4yr7S40cZKlreM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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